<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>Library4U</title>
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/adminstyle.css" />
</head>
<body>
  <div id="container">
    <div id="header">
        <div class="div1">
          <div class="div2" style="font-size:20px;margin-left:15px">administration</div>
          <div class="div3"><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/lock.png" alt="" style="position: relative; top: 5px;" />
              &nbsp;<?php 
              if (!Yii::app()->user->isGuest){
                echo Yii::app()->user->getFullName();
              }?>
          </div>
        </div>
        <div id="menu">
          <ul class="left">
            <li>
                <?php echo CHtml::link('Home', array('site/index'), array('class' => 'top')); ?>
            <li>
                <?php echo CHtml::link('Manager User', array('user/index'), array('class' => 'top')); ?>
            </li>
            <li>
                <?php echo CHtml::link('Manager Source', array('source/index'), array('class' => 'top')); ?>
            </li>
            <li>
                <?php echo CHtml::link('Management News', array('news/index'), array('class' => 'top')); ?>
            </li>
            <li>
                <?php echo CHtml::link('Management Ads', array('ads/index'), array('class' => 'top')); ?>
            </li>
            <li>
                <?php echo CHtml::link('Management Infomation', array('information/index'), array('class' => 'top')); ?>
            </li>
          </ul>
            <ul class="right">
               <li><a class="top" href="profileadmin.html" class="top">View Profile</a></li>
              <li>
                  <?php echo CHtml::link('Logout', array('site/logout'), array('class' => 'top')); ?>
              </li>
            </ul>
        </div>
      </div>
      <div id="content">
               <?php echo $content; ?>
      </div>
  <div id="footer">© Copyright 2012 Cao Tan Thanh</div>
</body></html>
